package javaweb.servlet;

import javax.servlet.*;
import javax.servlet.annotation.WebServlet;
import java.io.IOException;

/**
 * @Author Lao Wang
 * @Date 2023/11/9
 * @Description
 **/
@WebServlet("/myServlet")
public class MyServlet implements Servlet {
    public void init(ServletConfig servletConfig) throws ServletException {

    }

    public ServletConfig getServletConfig() {
        return null;
    }

    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("MyServlet service...");
    }

    public String getServletInfo() {
        return null;
    }

    public void destroy() {

    }
}
